package com.ihr360.authority.sharing.privilege;

import java.util.ArrayList;
import java.util.List;

public abstract class AccessControlMethod {
    public final static class METHODS {
        public final static String getOne = "getOne";
        public final static String getAll = "getAll";
        public final static String batchDelete = "batchDelete";
        public final static String search = "search";
        public final static String deleteOne = "deleteOne";
        public final static String update = "update";
        public final static String create = "create";
        public final static String getAllInCompany="getAllInCompany";
    }
    public  static List<String> ALL_METHODS = new ArrayList<>();
    static {
        ALL_METHODS.add(METHODS.getOne);
        ALL_METHODS.add(METHODS.getAll);
        ALL_METHODS.add(METHODS.batchDelete);
        ALL_METHODS.add(METHODS.search);
        ALL_METHODS.add(METHODS.deleteOne);
        ALL_METHODS.add(METHODS.update);
        ALL_METHODS.add(METHODS.create);
        ALL_METHODS.add(METHODS.getAllInCompany);
    }
}